home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / qwhite.zip / WINSIZE.TEC < prev    next >
Text File  |  1992-03-09  |  10KB  |  172 lines

  1. ID:WZ Maximizing Window Size in DESQview
  2. Quarterdeck Technical Note #161
  3. by Dan Sallitt
  4. last revision:  13 February 1992
  5.  
  6. First, the basics:  If you have any kind of expanded memory or if you have 
  7. extended memory and have placed DESQview's QEXT.SYS driver in your config.sys 
  8. file, you should be starting DESQview with DV.COM or XDV.COM instead of 
  9. DV.EXE.  Most users have a DV.COM file in their DESQview directory, either 
  10. because the DESQview Install program placed it there or because of the 
  11. recommendation in our documentation that XDV.COM be renamed to DV.COM.  In 
  12. this case you can simply type DV at the DOS prompt and be assured that the 
  13. .COM file is being used.  However, some users do not have a copy of DV.COM in 
  14. their DESQview directory and start DESQview with the DV.EXE file instead of 
  15. the XDV.COM loader.  Failure to start DESQview with the .COM file is a 
  16. possible reason that window size may fall short of the user's expectations.
  17.  
  18. If you are starting DESQview with the proper executable file and you still 
  19. can't open a window as large as you think you should be able to (our 
  20. documentation includes a table that gives you an idea of what to expect), 
  21. there are several common reasons.
  22.  
  23. 1) Drivers and terminate-and-stay-resident programs (TSRs) loaded before 
  24. DESQview may be taking more memory than you expect. 
  25.  
  26. The amount of memory available to a window inside DESQview decreases as more 
  27. memory is used up before DESQview; this is true no matter how much extended or 
  28. expanded memory is on the system. If you want to decrease this overhead, you 
  29. have a few options. 
  30.  
  31.      a) Streamline your CONFIG.SYS and AUTOEXEC.BAT files.  
  32.  
  33.      b) Load some programs inside DESQview.  If a TSR doesn't
  34.      have to run before DESQview (obviously, some programs, like
  35.      disk caches and print spoolers, will not serve their
  36.      function when loaded inside a window), it's much more
  37.      memory-efficient to let DESQview manage it.  Even some
  38.      CONFIG.SYS drivers can be loaded inside a DESQview window
  39.      using DESQview's DEVICE.COM utility.
  40.  
  41.      c) If you have the Quarterdeck Expanded Memory Manager-386
  42.      (QEMM-386), or if you have expanded memory that can be
  43.      mapped freely in the area between 640K and 1024K and you
  44.      have Quarterdeck's QRAM.SYS utility, you may be able to
  45.      decrease your memory overhead by loading devices and TSRs
  46.      into high memory.  (You may even be able to do this if you
  47.      have an expanded memory manager with its own high-loading
  48.      capabilities, such as All Computers' ALLEMM4.SYS for the All
  49.      Chargecard.)  Any unused address spaces between 640K and
  50.      1024K (different systems will have different amounts of free
  51.      space in this area) can be filled with expanded memory and
  52.      used to run small programs that would otherwise occupy
  53.      conventional memory.
  54.  
  55. It is worth remembering that DESQview loads itself high (with its XDV.COM 
  56. driver) in the same areas that QEMM-386 and QRAM use to place drivers and 
  57. TSRs.  If you place enough programs in high memory before running DESQview, 
  58. you will sooner or later reach a point at which the high loading no longer 
  59. increases your window sizes inside DESQview, because DESQview will be forced 
  60. to start loading pieces of itself in low memory when high memory gets crowded 
  61. enough.  At this point one can sometimes get creative in finding new places to 
  62. put RAM in the reserved memory area between 640K and 1024K.  Which brings us 
  63. to the second reason that memory figures inside DESQview may be falling short 
  64. of expectations.
  65.  
  66. 2) On an extended or expanded memory system, less of DESQview may be going 
  67. into reserved memory than is possible.  To evaluate this situation properly, 
  68. it's helpful to have some experience with DESQview's normal use of reserved 
  69. memory.  A few rules of thumb apply, however.
  70.  
  71.      a) On 80286 systems that have the first 64K of extended
  72.      memory free, DESQview's XDV.COM loader can put 63K of
  73.      DESQview code into extended memory if the QEXT.SYS driver is
  74.      in the CONFIG.SYS file.  On 80386 systems, QEMM-386 obtains
  75.      the QEXT effect automatically for you; if you are using
  76.      another memory manager, you may wish to tell it to leave
  77.      behind 64K of extended memory and use QEXT.SYS.  (Compaq's
  78.      CEMM is also able to obtain the QEXT effect without QEXT
  79.      being present.)
  80.  
  81.      b) On some expanded memory systems DESQview can put some of
  82.      its code in unused video areas.  The A000-AFFF area (640K to
  83.      704K) is used for EGA and VGA graphics, and should be
  84.      available if EGA and VGA graphics aren't used.  The
  85.      B000-B7FF area (704K to 736K) is used for monochrome text,
  86.      and should be available on a color system.  The B800-BFFF
  87.      area (736K to 768K) is used for color text (and sometimes
  88.      for Hercules graphics), and should be available on
  89.      monochrome systems.  You can try including the appropriate
  90.      areas on your memory manager's CONFIG.SYS line.
  91.  
  92.      c) Some expanded memory managers (notably the Intel
  93.      Aboveboard Plus) only allow memory mapping to occur
  94.      immediately above the expanded memory page frame.  See our
  95.      technical note on the Aboveboard Plus for information on how
  96.      to maximize this mappable area.
  97.  
  98.      d) Adventurous users of QEMM-386 version 5.0 will notice
  99.      that the command QEMM ANALYSIS gives a list of the different
  100.      areas of memory that may be claimed for DESQview and
  101.      QEMM-386's LOADHI function to use.  This utility, which
  102.      should be acted upon only after it has been run on several
  103.      occasions after you have run the full complement of programs
  104.      that you normally use, should give you an idea of which
  105.      areas in your system ROM may in fact be unused and available
  106.      for including with the QEMM-386 INCLUDE parameter.  There is
  107.      an element of trial and error to this process, but the
  108.      rewards can be substantial.  Even if you are using another
  109.      memory manager or an earlier version of QEMM-386, it may be
  110.      possible through a series of blind attempts to find unused
  111.      ROM areas that can be included and used to decrease your
  112.      memory overhead.  The ROM area F000-F7FF, sometimes used
  113.      only by the ROM BASIC, is a favorite area to try including;
  114.      sometimes a slightly smaller inclusion, such as F200-F7FF,
  115.      is necessary.  If you guess incorrectly, your machine may
  116.      not boot properly, so you may wish to keep a bootable DOS
  117.      diskette handy during this process.
  118.  
  119. 3) Sometimes DESQview's Setup program contains excessive memory allocations 
  120. that cut down on DESQview's overall memory.  The two fields that are abused 
  121. most often in this regard are both on the Performance option of the Advanced 
  122. Setup.
  123.  
  124. "Common Memory" is memory used by DESQview to manage its windows, and the 
  125. amount you need is usually proportionate to the number of windows you open.  
  126. The default value is 17K; the minimum value of 14K is adequate for users who 
  127. open no more than five or six windows at once.  Few users need more than 20K 
  128. of common memory.
  129.  
  130. "DOS Buffers for EMS" is memory used by DESQview to manage file operations 
  131. into expanded memory.  The default value is 2K; users of QEMM-386 who are not 
  132. on a network can set this figure to 0K with no loss of performance and a 
  133. memory savings of about 5K.  The value of this field can affect the speed of 
  134. disk access; however, it is rarely worth while to choose a value higher than 
  135. 10K or 15K.
  136.  
  137. If you wish to throw away a few DESQview features, you can probably scrimp a 
  138. few more K from the Setup program.
  139.  
  140. On the Keyboard option, you can save as much as 12K if you tell DESQview that 
  141. you don't wish to use the Learn feature.  This will disable DESQview's very 
  142. useful macro system.
  143.  
  144. On the Video Monitor option, you can save anywhere from 0K to 16K if you tell 
  145. DESQview that you don't wish to display text and graphics at the same time.  
  146. This will disable DESQview's Video Options menu, prevent graphics programs 
  147. from being seen when they are in background, and prevent virtualization of 
  148. graphics.
  149.      You can save another 2-9K by choosing 0 for "What Display Adapter do you 
  150. have?".  This causes DESQview not to load a video driver.  This will keep 
  151. DESQview from saving and restoring graphics screens or virtualizing graphics.
  152.  
  153. On the Performance option, you can save 2K by setting the "Manage Printer 
  154. Contention?" field to N.  (However, this field defaults to N.) This means that 
  155. DESQview will not intervene to prevent two programs from printing at the same 
  156. time.
  157.  
  158. On the Network option, you may disable the network support, or decrease the 
  159. size of the buffer.  This support is needed only for certain network-specific 
  160. program, not most normal DOS applications that are merely run off the network.  
  161. The amount of memory you will save will be about 5K plus the size of the 
  162. buffer reserved in the second field.  Unless you know that you need this 
  163. service, you should try running without it and seeing if you have problems 
  164. without it that you do not have with it.  You may also try decreasing the size 
  165. of the buffer.  The default is 8K.
  166.  
  167.   ************************************************************************
  168.   *This technical note may be copied and distributed freely as long as it*
  169.   *is distributed in its entirety and it is not distributed for profit.  *
  170.   *          Copyright (C) 1990-2 by Quarterdeck Office Systems          *
  171.   ************************ E N D   O F   F I L E *************************
  172.